package com.atlzk.group.tgou.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.atlzk.common.utils.PageUtils;
import com.atlzk.common.utils.Query;

import com.atlzk.group.tgou.dao.TgouDao;
import com.atlzk.group.tgou.entity.TgouEntity;
import com.atlzk.group.tgou.service.TgouService;


@Service("tgouService")
public class TgouServiceImpl extends ServiceImpl<TgouDao, TgouEntity> implements TgouService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<TgouEntity> page = this.page(
                new Query<TgouEntity>().getPage(params),
                new QueryWrapper<TgouEntity>()
        );

        return new PageUtils(page);
    }

}